package com.wodsy.phoenix.dataobject.base;

/**
 * 名称：com.wodsy.phoenix.dataobject.base
 * 描述：<br> 返回错误代码常量表
 * 类型：JAVA<br>
 * 最近修改时间：11/03/2015 10:38<br>
 *
 * @author Jack Chan
 * @since 11/03/2015
 */
public interface ResponseCodeConstants {

    /**成功*/
    public final static Integer  SUCCESS = 0;
    /**请求参数错误*/
    public final static Integer  REQUEST_PARAM_ERROR = 1;
    public final static Integer  TRADE_QUOTATION_INVALID = 2;
    public final static Integer EXCEPTION = 3;

    public final static Integer USER_OR_PASSWORD_WRONG=100001;//用户名或者密码出错
    public final static Integer PASSWORD_NOT_CONSISTENT=100002;//两次输入的密码不一致
    public final static Integer SAVE_USER_FAIL=100003;//保存用户失败
    public final static Integer EMAIL_IS_REGISTERED = 100004;//邮箱已经注册
    public final static Integer EMAIL_FORMAT_NOT_VALID=100005;//邮箱格式错误
    public final static Integer PHONE_IS_REGISTERED = 100006;//手机已经注册
    public final static Integer PHONE_FORMAT_NOT_VALID = 100007;//手机格式错误
    public final static Integer ACCOUNT_FORMAT_NOT_VALID = 100008;//账号格式错误
    public final static Integer ACCOUNT_IS_REGISTERED = 100009;//账号已注册
    public final static Integer PASSWORD_IS_WRONG = 100010;//密码错误
    public final static Integer USER_NOT_EXIST = 100011;//用户不存在
    public final static Integer USER_NOT_ACTIVATED = 100012;//用户未激活
    public final static Integer SEND_MOBILE_CAPTCHA_FAIL= 100013;//发送手机信息失败
    public final static Integer CAPTCHA_IS_VALID= 100014;//验证码失效


    /* 空结果 */
    Integer EMPTY = -1;
}
